<?php
include('class.php');
session_start();
$db = new DB();

$db->modify($_SESSION['deleteid']);
echo "<script type='text/javascript' language='javascript'>
              alert('Modify Successfully!');
             </script>";
Header('Refresh:0.01;url=Namelist.php');
  
?>